package seqlist;

/**
 * 带头单链表的测试类
 */
public class LinkedListWithHeadTest {
    public static void main(String[] args) {
        LinkedListWithHead linkedListWithHead=new LinkedListWithHead();
        linkedListWithHead.addFirst(1);
        linkedListWithHead.addFirst(2);
        linkedListWithHead.addFirst(3);
        linkedListWithHead.add(1,2);
        linkedListWithHead.add(0,4);
        System.out.println(linkedListWithHead);
    }
}
